package com.lglbc;

import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZonedDateTime;

/**
 * @Author 乐哥聊编程
 * @Doc 关注公众号"乐哥聊编程"获取文档和源码
 * @Date 2023/6/18
 * @Description
 */
public class Test {
    public static void main(String[] args) {
        LocalDateTime ldt01 = LocalDateTime.of(2023, 7, 1, 18, 28, 00);
        ZonedDateTime zdt01 = ZonedDateTime.of(ldt01, ZoneId.of("Asia/Shanghai"));
        System.out.println(zdt01);
    }
}
